package com.zhan.ielts.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import com.zhan.frame.core.dao.BaseService;
import com.zhan.ielts.domain.SpeakingRecall;
import com.zhan.ielts.domain.vo.SpeakingRecallVo;

public interface SpeakingRecallService extends BaseService<SpeakingRecall> {

	@SuppressWarnings("rawtypes")
	public Map fetchSpeakingRecall(SpeakingRecallVo query, Pageable pageable);

	public boolean importSpeakingRecall(MultipartFile file, String fileFolder, String aliyunFolder);

	public Integer countEveryDay(SpeakingRecall sr);

	public String pushMessage(SpeakingRecall sr);

	public Page<SpeakingRecallVo> selectReviewList(SpeakingRecall query, Pageable pageable);

	public int selectUntreatedCount(SpeakingRecall query);

	public void addNewCount(SpeakingRecall attention);

	public void pushUnionMessage(SpeakingRecall sr);
}
